package com.xmall.msg.entity.order;

import com.xmall.msg.base.BaseMsg;
import com.xmall.msg.base.MsgSourceType;
import lombok.Data;

import java.io.Serializable;

@Data
public class OrderRefundMsg extends BaseMsg implements Serializable {

    /**
     * 退款退货ID
     */
    private Long refundLogId;

    public OrderRefundMsg build(MsgSourceType msgSourceType, String exchange, String routingKey) {
        super.build(msgSourceType, exchange, routingKey);
        return this;
    }

    private void setRefundLogId(Long refundLogId) {
        this.refundLogId = refundLogId;
    }

    public OrderRefundMsg refundLogId(Long refundLogId) {
        this.refundLogId = refundLogId;
        return this;
    }

}
